<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Analyse</title>
    <script src="../static/js/echarts.min.js"></script>
    <script src="../static/js/jquery.min.js"></script>
    <link href="/static/css/reset.css"  type="text/css" rel="stylesheet">
</head>
<body>
    <a href="index.html">
        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-reply-all" viewBox="0 0 16 16">
            <path d="M8.098 5.013a.144.144 0 0 1 .202.134V6.3a.5.5 0 0 0 .5.5c.667 0 2.013.005 3.3.822.984.624 1.99 1.76 2.595 3.876-1.02-.983-2.185-1.516-3.205-1.799a8.74 8.74 0 0 0-1.921-.306 7.404 7.404 0 0 0-.798.008h-.013l-.005.001h-.001L8.8 9.9l-.05-.498a.5.5 0 0 0-.45.498v1.153c0 .108-.11.176-.202.134L4.114 8.254a.502.502 0 0 0-.042-.028.147.147 0 0 1 0-.252.497.497 0 0 0 .042-.028l3.984-2.933zM9.3 10.386c.068 0 .143.003.223.006.434.02 1.034.086 1.7.271 1.326.368 2.896 1.202 3.94 3.08a.5.5 0 0 0 .933-.305c-.464-3.71-1.886-5.662-3.46-6.66-1.245-.79-2.527-.942-3.336-.971v-.66a1.144 1.144 0 0 0-1.767-.96l-3.994 2.94a1.147 1.147 0 0 0 0 1.946l3.994 2.94a1.144 1.144 0 0 0 1.767-.96v-.667z"></path>
            <path d="M5.232 4.293a.5.5 0 0 0-.7-.106L.54 7.127a1.147 1.147 0 0 0 0 1.946l3.994 2.94a.5.5 0 1 0 .593-.805L1.114 8.254a.503.503 0 0 0-.042-.028.147.147 0 0 1 0-.252.5.5 0 0 0 .042-.028l4.012-2.954a.5.5 0 0 0 .106-.699z"></path>
        </svg>
    </a>
    <br>
    <br>
  <div id="container" style="width: 1400px;height:400px;"></div>
  <script type="text/javascript">
    var dom = document.getElementById('container');
    var myChart = echarts.init(dom, null, {
      renderer: 'canvas',
      useDirtyRect: false
    });
    var app = {};
    var option;
const data = [["102900011018132 ", 14.986666666666666],["102900005116257 ", 8.67845929703214], ["102900011008515 ", 9.212698412698408], ["102900011027479 ", 11.71669266770671], ["106971563780002 ", 4.8999999999999995], ["102900011033982 ", 10.909375000000013], ["102900005116547 ", 8.027740849064967], 
["102900011032480 ", 26.160000000000004], ["102900005116530 ", 17.98501547075176], ["102900051000944 ", 29.199225931300525], ["102900011032282 ", 3.7243902439024414], ["102900011034026 ", 8.065955210607305], ["102900005115168 ", 4.080019166267359], ["102900011031582 ", 3.480150214592325], ["102900011031759 ", 3.6384615384615375], ["102900011009277 ", 6.32484166080209], ["102900011032206 ", 3.114945054945075], ["102900011030134 ", 3.2195811008280275], ["102900011032350 ", 15.969896193771623], ["102900005117056 ", 9.857506511958425], 
["102900011008492 ", 3.8], ["102900011000175 ", 8.217391304347826], ["102900011000571 ", 4.696127562642377], ["102900011007495 ", 29.790322580645157], ["106957634300010 ", 2.894512195121943], ["102900011030905 ", 4.66000000000004], ["102900011035962 ", 13.0], ["102900005116899 ", 7.9527096856302455],
["102900011033968 ", 19.26363636363635], ["102900005115908 ", 7.315399648231276], ["102900011035788 ", 4.877308707124043], ["102900011029305 ", 21.81954887218039], ["102900005115861 ", 4.107791074544874], ["102900011007471 ", 17.892753623188415], ["102900011010563 ", 75.8], ["102900011030103 ", 2.3182593856655376], ["102900011033937 ", 12.28344947735193], ["102900011034538 ", 6.233333333333333], ["102900011034354 ", 5.900000000000004], ["102900005118572 ", 2.5701277955271116], ["102900011023976 ", 5.9460674157303375], ["102900005119975 ", 5.985344234736637], 
["102900005115878 ", 6.637282780410663], ["102900011030561 ", 16.8], ["102900011021842 ", 10.62465023317928], ["102900011032589 ", 11.728301886792455], ["102900011031216 ", 8.80689655172414], ["102900011033920 ", 7.08381962864711], ["102900005119098 ", 21.533978234583127],
["106973990980123 ", 2.238532110091743], ["102900011033975 ", 6.294117647058813], ["102900011032343 ", 24.036767485821876], ["102900011030615 ", 11.342857142857143], ["106973223300667 ", 12.9], ["102900011022849 ", 3.2037590773175317], ["102900011030400 ", 14.833333333333334], ["102900005116912 ", 15.101315789473684], ["102900005119968 ", 8.848494453248811], ["106949711300259 ", 3.76059906356283], ["102900005116509 ", 6.902015994668342], ["102900005115977 ", 14.767263427110025], ["102900005115854 ", 5.125609756097563], ["102900011034330 ", 5.346077504725789], 
["102900011012871 ", 104.89142857142865], ["106931885000035 ", 12.842857142857145], ["102900011033234 ", 1.9556473829201158], ["102900011034316 ", 6.0], ["106971533450003 ", 3.2076923076923345], ["102900011036068 ", 6.66923076923077], ["102900011033586 ", 19.8], 
["102900011035764 ", 8.463878326996184], ["102900011034231 ", 3.246252707581373], ["102900011035511 ", 7.31313291139239], ["106931885000356 ", 12.8], ["102900005115960 ", 2.1455988931346877], ["102900005115793 ", 15.793224181360268], ["102900011031995 ", 3.2002923976608333], ["102900011026618 ", 4.148148148148148], ["102900011032176 ", 3.722500000000003], ["102900011009772 ", 25.8], ["102900011034200 ", 2.748941176470583], 
["102900011033999 ", 5.200000000000001], ["102900011032251 ", 4.946239689471458], ["102900005115762 ", 5.071307893969874], ["102900005115786 ", 5.474428518472405], ["102900005128748 ", 67.85454545454546], 
["102900011034224 ", 3.011754558895904], ["102900011008164 ", 4.859513290902215], ["102900011022924 ", 3.0], ["106956146480197 ", 4.019123505976087], ["102900011036686 ", 3.5888888888888886], ["102900011002414 ", 13.509604519774015],
["102900011026502 ", 19.227272727272716], ["102900011007464 ", 20.466666666666686], 
["102900011011669 ", 15.333333333333334], ["102900011031100 ", 5.080595501475451], ["102900011035740 ", 7.902425876010831], ["102900011008133 ", 20.640000000000008], ["102900011030110 ", 3.9983317595216037], 
["102900005118831 ", 5.021770068935092], ["102900011016909 ", 11.366839378238343], ["102900011021675 ", 25.8], ["102900011000335 ", 12.285714285714286], ["102900011035078 ", 16.906148055206792], ["102900011010891 ", 10.173430493273521], ["102900011030622 ", 19.8], 
["102900011032848 ", 4.040578158458272], ["102900011030417 ", 16.266666666666666], ["102900011030059 ", 4.467895030709608], ["102900051009220 ", 9.64], ["102900011031841 ", 7.9799999999999995], ["102900005118817 ", 9.963779749331115], ["102900011027462 ", 10.0], ["102900005116790 ", 6.077299209321655], ["102900011033562 ", 19.8], ["102900051000890 ", 10.0], ["102900011000632 ", 13.558333333333332], ["102900011022030 ", 14.68159126365038], ["102900051004294 ", 13.802403846154434],
["102900011006948 ", 16.151889168765763], ["102900011029176 ", 11.639560439560439], ["102900011032640 ", 14.535999999999998], ["102900005125815 ", 10.105935892362483],
["102900011007044 ", 4.257093425605522], ["102900011024010 ", 19.37894736842105], ["102900005115199 ", 32.75299479166602], ["102900011021644 ", 3.96], ["102900005116714 ", 9.900918427976361], ["102900005116943 ", 21.889211136892147], 
["102900011029688 ", 6.0], ["102900011015384 ", 47.05], ["102900011032732 ", 20.234475597091922], ["102900011032114 ", 5.8999999999999995], ["102900011032220 ", 7.738515901060093], ["102900011030141 ", 2.9608922175186945], ["102900011013274 ", 6.999486477233496], ["102900011029299 ", 17.255172413793108], ["102900011032787 ", 2.115506035283229], ["102900011008485 ", 7.451923076923077], ["102900011030042 ", 2.1776357827475943], ["102900005115625 ", 4.612418300653585], ["102900005125808 ", 26.577390326204963], ["102900011033081 ", 7.175], ["102900011030608 ", 8.077777777777778], 
["102900011030158 ", 1.535810810810807], ["102900011035481 ", 7.49921259842518], ["102900011034705 ", 11.2625], ["102900011036242 ", 5.540000000000003], ["102900005116219 ", 14.646741452991181], ["102900011021699 ", 28.359999999999996], ["102900011031926 ", 5.35202885482415], ["102900011007969 ", 10.698016997167068], 
["102900005119944 ", 15.425442176870751], ["102900011032022 ", 3.397759752800247], ["102900011032367 ", 18.563846153845976], ["102900011016701 ", 7.378117092001146], ["102900011034439 ", 3.842335186656152], ["102900011026793 ", 4.8999999999999995], ["102900011031742 ", 2.75], ["102900005119104 ", 3.724509803921567], ["106930274620090 ", 4.135119887165014], ["102900011001561 ", 2.3429149797570825],
["102900011015391 ", 12.0], ["102900011032237 ", 4.106545296922259], ["102900011012482 ", 8.566666666666654], 
["102900011011546 ", 4.160509554140117], ["102900005115779 ", 8.20942161606527], ["102900005115816 ", 8.19047619047619], ["102900011034217 ", 8.216909620991292], ["102900011033913 ", 15.0], ["102900011035849 ", 7.076923076923077], ["102900011009970 ", 7.058703339882362], ["102900051010455 ", 6.750834956860545], ["102900011032619 ", 21.78617756512465], ["102900011032633 ", 14.227692307692289], 
["106957634300058 ", 2.8666666666666702], ["102900011033241 ", 3.583076923076926], ["102900011032244 ", 5.859453781512613], ["102900011032626 ", 12.583720930232554], ["102900011006955 ", 13.9125], ["102900005122654 ", 6.389383875400778], ["102900011031858 ", 3.5], ["106972776821582 ", 6.763043478260868], ["106949711300068 ", 3.3111987381702512], ["102900011035771 ", 7.484943820224712], ["102900005115823 ", 7.5246575342464554], ["102900011023075 ", 4.9], ["102900011000328 ", 10.658329658700792], ["102900005116806 ", 4.30666666666666], ["102900011030929 ", 2.1688259109311865], ["102900011022764 ", 10.761862828111804], 
["102900005116226 ", 11.255956068712976], ["102900011009246 ", 13.71900826446281], ["102900051009336 ", 28.877881619937728], ["102900011030912 ", 6.29839080459775], ["102900011008577 ", 8.166666666666666], ["106958851400125 ", 3.7151627906975326], ["102900011034262 ", 3.4182795698924733],
["106971533455008 ", 3.6261261261261573], ["102900005115748 ", 4.060229885057515], ["102900011001691 ", 14.291856677524422], ["102900011031599 ", 3.0529411764705885], ["102900005115984 ", 6.892826133678098], ["102900005123880 ", 12.652600297176827], ["102900011033944 ", 11.751668970966032], ["102900011011058 ", 77.65], ["102900011028407 ", 12.677685950413224], ["102900011034323 ", 18.400000000000006], 
["102900005117209 ", 21.258420441347088], ["102900005116905 ", 17.48], ["102900005115946 ", 7.0987331954498565], ["102900005115885 ", 14.294796288826218], ["102900011030639 ", 17.325000000000003], ["102900051006229 ", 4.0], ["102900011032213 ", 4.808180535966208], ["102900011027615 ", 10.0], ["106930274220092 ", 5.1922693266833315], ["102900011029275 ", 16.0], ["102900011001806 ", 6.172744186046404], ["102900011008522 ", 7.638536005434655], ["102900011033906 ", 2.498798377028876], ["102900051000463 ", 7.591652566271867], ["102900011023464 ", 5.8939570164346025], ["102900051010790 ", 16.396078431372544], 
["102900011000861 ", 14.104032258064517], ["102900011008676 ", 6.0736842105263165], 
["102900005117353 ", 4.900000000000002], ["102900011031735 ", 5.055555555555555], ["102900011033531 ", 19.8], ["102900011001813 ", 2.952414486921495], ["106956146480203 ", 4.150526315789475], 
["102900011012994 ", 5.273507462686459], ["102900011030097 ", 4.034119372672948], ["102900005118824 ", 13.73697667884233], ["102900005116837 ", 7.831319000581055], ["102900005116639 ", 9.614057507987217], ["102900011006689 ", 5.253676117251381], ["102900005115250 ", 21.47391075655473], ["102900011033173 ", 19.317073170731714], ["102900011036266 ", 4.9], ["102900005116233 ", 16.091310879190914], ["102900011034569 ", 9.880000000000004], ["102900011009444 ", 8.853798256537996], ["106949711300167 ", 3.1422291993719185], ["102900011001219 ", 17.716896551724084], ["102900011018095 ", 6.1073619631901]];
const dateList = data.map(function (item) {
  return item[0];
});
const valueList = data.map(function (item) {
  return item[1];
});
option = {
  // Make gradient line here
  visualMap: [
    {
      show: false,
      type: 'continuous',
      seriesIndex: 1,
      dimension: 0,
      min: 0,
      max: dateList.length
    }
  ],
  title: [
    {
      left: 'center',
      text: '不同单品编号的平均单价分布'
    },
  ],
  tooltip: {
    trigger: 'axis',
      show: true
  },
  xAxis: [
    {},
    {
      data: dateList,
      gridIndex: 1
    }
  ],
  yAxis: [
    {},
    {
      gridIndex: 1
    }
  ],
  grid: [
    {},
    {
      top: '12%'
    }
  ],
  series: [
    {
      type: 'line',
      showSymbol: false,
      data: valueList,
      xAxisIndex: 1,
      yAxisIndex: 1,
      markPoint: {
          data: [
              {type: 'max', name: '最大值'},
              {type: 'min', name: '最小值'}
          ]
       },
      markLine: {
          data: [
              {type: 'average', name: '平均值'}
          ]
      }
    }
  ]
};

    if (option && typeof option === 'object') {
      myChart.setOption(option);
    }

    window.addEventListener('resize', myChart.resize);
  </script>
</body>
</html>